package cn.jiedanba.cacert.admin.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.jiedanba.cacert.admin.service.KeyUsageService;
import cn.jiedanba.cacert.mapper.KeyUsageMapper;
import cn.jiedanba.cacert.model.KeyUsage;

@Service
public class KeyUsageServiceImpl implements KeyUsageService {

	@Resource
	private KeyUsageMapper keyUsageMapper;

	/**
	 * 查询密钥用法
	 * 
	 * @param usageType
	 * @return
	 */
	@Override
	public List<KeyUsage> selectKeyUsageList(KeyUsage usage) {
		return keyUsageMapper.selectKeyUsageList(usage);
	}

}
